<extend name='layout:index'/>
<block name='content'>
		<div class="mws-panel grid_8">
                	<div class="mws-panel-header">
                    	<span> &nbsp;&nbsp;&nbsp;管 理 员 修 改</span>
                    </div>
                    <div class="mws-panel-body no-padding">
                    	<form class="mws-form" action="__MODULE__/role/update/id/{$admin.user_id}" method='post' onSubmit='return checkForm(this)'>
                    		<div class="mws-form-inline">
                    			<div class="mws-form-row">
                    				<label class="mws-form-label">管理员姓名:</label>
                    				<div class="mws-form-item">
                    					<input type="text" class="small" style='width:200px' name='user_name' id='admin_name' value='{$admin.user_name}'>
                    				</div>
                    			</div>
                    			<div class="mws-form-row">
                    				<label class="mws-form-label">Email地址:</label>
                    				<div class="mws-form-item">
                    					<input type="email" class="small" name='email' id='Email' value='{$admin.email}'>
                    				</div>
                    			</div>
                    			<div class="mws-form-row">
                    				<label class="mws-form-label">管理员备注:</label>
                    				<div class="mws-form-item">
                    					<input type="text" class="large" name='note' id='desc' value='{$admin.note}'>
                    				</div>
                    			</div>
                    			<div class="mws-form-row">
                    				<label class="mws-form-label">密码:</label>
                    				<div class="mws-form-item">
                    					<input type="password" class="small"  style='width:200px' name='password' id='password'>
                    				</div>
                    			</div>
                    			<div class="mws-form-row">
                    				<label class="mws-form-label">确认密码:</label>
                    				<div class="mws-form-item">
                    					<input type="password" class="small"  style='width:200px' name='repassword' id='repassword'>
                    				</div>
                    			</div>
                    			
                    			<div class="mws-form-row">
                    				<label class="mws-form-label">角色选择:</label>
                    				<div class="mws-form-item">
                    					<select class="small"  style='width:200px' name='role'>
                    						<option <if condition='$admin.role eq "超级管理员"'> selected</if> value='超级管理员'>超级管理员</option>
                    						<option value='编辑管理员' <if condition='$admin.role eq "编辑管理员"'> selected</if>>编辑管理员</option>
                    						<option value='客服管理员' <if condition='$admin.role eq "客服管理员"'> selected</if>>客服管理员</option>                						
                    						<option value='财务管理员' <if condition='$admin.role eq "财务管理员"'> selected</if>>财务管理员</option>                    						
                    					</select>
                    				</div>
                    			</div>
                    			
                    			
                    		</div>
                    		<div class="mws-button-row">
                    			<input type="submit" value="修改" class="btn btn-danger">
                    			<input type="reset" value="重置" class="btn ">
                    		</div>
                    	</form>
                    </div>    	
                </div>

   
</block>